package org.lsj.kit.model;

public class MenuResource extends BaseModel {
    private Integer id;

    private String url;

    private String name;

    private Integer isButton;

    private String buttonCode;

    private Integer permId;

    public MenuResource(Integer id, String url, String name, Integer isButton, String buttonCode, Integer permId) {
        this.id = id;
        this.url = url;
        this.name = name;
        this.isButton = isButton;
        this.buttonCode = buttonCode;
        this.permId = permId;
    }

    public MenuResource() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getIsButton() {
        return isButton;
    }

    public void setIsButton(Integer isButton) {
        this.isButton = isButton;
    }

    public String getButtonCode() {
        return buttonCode;
    }

    public void setButtonCode(String buttonCode) {
        this.buttonCode = buttonCode == null ? null : buttonCode.trim();
    }

    public Integer getPermId() {
        return permId;
    }

    public void setPermId(Integer permId) {
        this.permId = permId;
    }
}